package com.sqlexecute.sqlexu.domain;

import lombok.*;
import org.springframework.stereotype.Component;

@Setter
@Getter
@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommandExecutionDTO {
    // Getters and Setters
    private String command;
    private String status;
    private String output;
    private int progress;

    private String taskId;

    public CommandExecutionDTO(String command) {
        this.command = command;
        this.status = "Running";
        this.output = "";
        this.progress = 0;
    }

}
